layui.use([ 'form', 'layer', 'laydate', 'table', 'laytpl','layedit' ], function() {
	var form = layui.form, layer = parent.layer === undefined ? layui.layer : top.layer, $ = layui.jquery, laydate = layui.laydate, laytpl = layui.laytpl, table = layui.table;
	// ==========================添加start==================
	  var layedit = layui.layedit;
	  var index =  layedit.build('layContent',{
		  height: 380, //设置编辑器高度
		  uploadImage: {url: '/upload/', type: 'post'}
	  }); //建立编辑器
	  $("#boot-form-btn").click(function(){ //提交之前文本同步
		  $("#content").val(layedit.getContent(index));
	  });
});